package com.lyf.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/27
 * @VERSION 1.0
 * @DESC
 */
@RestController
@RequestMapping("/pay")
public class TestController {
    @Value("${server.port}")
    private String port;
    @GetMapping("/test")
    String test(){return "hello"+port;}
}
